#! /bin/bash

# ps -aux | grep demo 

pid=`ps -aux | grep hhq.demo.Main  | grep -v grep | awk -F " " '{print $2}'`
echo ${pid}
if [ $pid ]; then
    kill -9 ${pid}
    echo "kill succ"
else
     echo "Not exist"
fi
 
